﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<VTLive.Models.Station>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	CreateStation
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>CreateStation</h2>

    <% using (Html.BeginForm()) {%>
        <%= Html.ValidationSummary(true) %>

         <fieldset>
            <p>
                <label for="Name">Title:</label>
                <%= Html.TextBox("Name") %>
                <%= Html.ValidationMessage("Name", "*") %>
            </p>

            <p>
                <label for="Description">Description:</label>
                <%=Html.TextArea("Description") %>
                <%=Html.ValidationMessage("Description", "*") %>
            </p>
            <p>
                <label for="Type">Type:</label>
                <%=Html.TextBox("Type") %>
                <%=Html.ValidationMessage("Type", "*") %>
            </p>
               
            <p>
                <input type="submit" value="Save"/>
            </p>
        </fieldset>


    <% } %>

    <div>
        <%= Html.ActionLink("Back to List", "Index") %>
    </div>

</asp:Content>

